<?php


namespace Trawind\Remotes\Repositories\Account\Account;


use Trawind\Basics\Enums\ServiceDomain;
use Trawind\Remotes\BaseRepository;
use Trawind\Remotes\Contracts\Repositories\Account\Account\GlobalAreaRepository;

class GlobalAreaRepositoryEloquent extends BaseRepository implements GlobalAreaRepository
{

    public $baseRoute='/account/global-areas';
    

    public function __construct()
    {
        $this->domain=ServiceDomain::ACCOUNT_DOMAIN();
    }

    public function all($columns = ['*'])
    {
        return $this->setUrl($this->baseRoute)->result();
    }

    
    public function find($id, $columns = ['*'])
    {
        // TODO: Implement find() method.
    }

    public function create(array $attributes)
    {
        // TODO: Implement create() method.
    }

    public function update(array $attributes, $id)
    {
        // TODO: Implement update() method.
    }
}